package zoo.zoo;

//Ѽ������
public class Duck extends Animal implements ITerrestrial {
	
	//�ȵ�����
	private int legNum;
	
	

	public int getLegNum() {
		return this.legNum;
	}
	
	public Duck() {
		
	}

	public Duck(String name, int legNum) {
		super(name);
		
		this.legNum = legNum;
		
	}

	@Override
	public String shout() {
	    return "嘎嘎嘎 ...";
	}

}
